using System;
using System.IO;

namespace Org.JSON
{
	public sealed class Boolean : Value
	{
		public Boolean(bool value)
		{
			this.value = value;
		}

		private bool value;

		public bool Value { get { return this.value; }}

		public override void Serialize(TextWriter stream)
		{
			stream.Write(this.value ? "true": "false");
		}
	}
}

